/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.longview.io.modules.base.dao;

import java.util.List;

import com.longview.io.common.persistence.CrudDao;
import com.longview.io.common.persistence.annotation.MyBatisDao;
import com.longview.io.modules.base.entity.Station;

/**
 * 站点基础信息表DAO接口
 * @author zf
 * @version 2017-09-18
 */
@MyBatisDao
public interface StationDao extends CrudDao<Station> {
	/**
	 * 借助中间表同步站点area_id
	 * @param station 包含station_name
	 */
	public void updateCityId(Station station);
	
	/***
	 * 获取素有站点
	 */
	public List<Station> findAllList();
	
	/**
	 * add by muzili90
	 * 2017_10_17
	 * 获取内蒙古站点排除已C开头的站点
	 * @return
	 */
	public List<Station> findAllExcludeHeaderC();
	
	/*
	 * add by muzili90 2017-10-24 根据stationcode查询station
	 */
	public Station getStationByStationCode(Station station);
	
	/*
	 * add by muzili90 2017-10-24 
	 */
	//根据stationCode数组查询List<Station>
	public List<Station> getStationsByStationCodes(String[] stationCodes);
}